package com.creative.xcx.mapper;

import com.creative.xcx.domain.ThematicSelection;
import com.creative.xcx.domain.vo.ThematicSelectionVo;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * @description 专题精选
 * @author ling
 * @date 2025-02-26
 */
@Mapper
public interface ThematicSelectionMapper {

    /**
     * 新增
     * @author ling
     * @date 2025/02/26
     **/
    Integer insert(ThematicSelection thematicSelection);

    /**
     * 刪除
     * @author ling
     * @date 2025/02/26
     **/
    Integer delete(String tsId);
    /**
     * 批量刪除
     * @author ling
     * @date 2025/02/26
     **/

    Integer deleteBatch(String[]   ids);


    /**
     * 更新
     * @author ling
     * @date 2025/02/26
     **/
    Integer update(ThematicSelection thematicSelection);

    /**
     * 查询 根据主键 id 查询
     * @author ling
     * @date 2025/02/26
     **/
    ThematicSelectionVo selectById(String tsId);
    /**
     * 查询 分页查询(带条件)
     * @author ling
     * @date 2025/02/26
     **/
    List<ThematicSelectionVo> selectThematicSelectionList(ThematicSelection thematicSelection);

    /**
     * 批量刪除
     * @author ling
     * @date 2025/02/26
     **/
    List<ThematicSelectionVo> exportBatch(String[]   ids);

    /**
     * 查询类型列表
     *
     * @return {@link List }<{@link ThematicSelectionVo }>
     * @author ling
     * @date 2025/03/01
     */
    List<ThematicSelectionVo> selectTypeList();
}
